<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
<div id="app">
<!--    <div v-bind:class="[classA, classB]">Hello !</div>-->

<!--    <div v-bind:class="[isShow ? classA : '', classB]"></div>-->

    <div v-bind:class="[{ showClass: isShow }, classB]"></div>
</div>
</body>
<script src="../../js/vue.js"></script>
<script>
    var vm = new Vue({
        el: '#app',
        data: {
            isShow:true,
            classA: 'classA',
            classB: 'classB1 classB2'
        },
    })
</script>
</html>
